
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.MedicineSupplier;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage MedicineSupplier entities.
 * 
 */
public interface MedicineSupplierDAO extends JpaDao<MedicineSupplier> {

	/**
	 * JPQL Query - findAllMedicineSuppliers
	 *
	 */
	public Set<MedicineSupplier> findAllMedicineSuppliers() throws DataAccessException;

	/**
	 * JPQL Query - findAllMedicineSuppliers
	 *
	 */
	public Set<MedicineSupplier> findAllMedicineSuppliers(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineSupplierByPrimaryKey
	 *
	 */
	public MedicineSupplier findMedicineSupplierByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineSupplierByPrimaryKey
	 *
	 */
	public MedicineSupplier findMedicineSupplierByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineSupplierById
	 *
	 */
	public MedicineSupplier findMedicineSupplierById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineSupplierById
	 *
	 */
	public MedicineSupplier findMedicineSupplierById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

}